package com.huanghuang.shuadan.common.exception.business;

import com.huanghuang.shuadan.common.exception.ExceptionEnum;
import com.huanghuang.shuadan.common.exception.base.BaseException;

/**
 * @Author suxiaoxiao
 * @Date 2019/7/13 22:52
 * @Version 1.0
 */
public class BusinessException extends BaseException {

    private ExceptionEnum exceptionEnum;

    public BusinessException(ExceptionEnum exceptionEnum) {
        super(exceptionEnum);
        this.exceptionEnum = exceptionEnum;
    }

    public ExceptionEnum getExceptionEnum() {
        return exceptionEnum;
    }

}
